/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hxg.portmgr.core.oper.RemoteClient;

/**
 *
 * @author hxg
 */
public enum Return {

    CR {

        @Override
        public String getName() {
            return "回车";
        }

        @Override
        public String toString() {
            return "\r";
        }
    }, LF {

        @Override
        public String getName() {
            return "换行";
        }

        @Override
        public String toString() {
            return "\n";
        }
    }, CRLF {

        @Override
        public String getName() {
            return "回车换行";
        }

        @Override
        public String toString() {
            return "\r\n";
        }
    }, LFCR {

        @Override
        public String getName() {
            return "换行回车";
        }

        @Override
        public String toString() {
            return "\n\r";
        }
    };

    public abstract String getName();

    @Override
    public abstract String toString();
}
